package controller

import (
	"ksd-social-api/commons/base/controller"
	"ksd-social-api/modules/msg/service"
)

type MessagePointController struct {
	controller.BaseController
}

var messagePointService = service.MessagePointService{}

/**
 * 修改消息过期时间
 * @author feige
 * @date 2024-01-07
 * @version 1.0
 * @desc
 */
func (web *MessagePointController) SaveMessagePonit() {
	stype, _ := web.GetInt("stype")
	web.Ok(messagePointService.SaveMessagePonit(web.GetUserId(), web.GetSystemId(), web.GetUuid(), stype))
}
